
package net.netca.bmps.userservice.bo;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for CertInfo complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="CertInfo">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="enccert" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
 *         &lt;element name="encdigest" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="enckeypair" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         &lt;element name="reqtime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         &lt;element name="signcert" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
 *         &lt;element name="signdigest" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CertInfo", propOrder = {
		"enccert",
	    "encdigest",
	    "enckeypair",
	    "id",
	    "reqno",
	    "reqtime",
	    "signcert",
	    "signdigest",
})
public class CertInfo {

    @XmlElementRef(name = "enccert", namespace = "http://bo.userservice.bmps.netca.net", type = JAXBElement.class)
    protected JAXBElement<byte[]> enccert;
    @XmlElementRef(name = "encdigest", namespace = "http://bo.userservice.bmps.netca.net", type = JAXBElement.class)
    protected JAXBElement<String> encdigest;
    @XmlElementRef(name = "enckeypair", namespace = "http://bo.userservice.bmps.netca.net", type = JAXBElement.class)
    protected JAXBElement<byte[]> enckeypair;
    protected Integer id;
    @XmlElementRef(name = "reqno", namespace = "http://bo.userservice.bmps.netca.net", type = JAXBElement.class)
    protected JAXBElement<String> reqno;
    protected XMLGregorianCalendar reqtime;
    @XmlElementRef(name = "signcert", namespace = "http://bo.userservice.bmps.netca.net", type = JAXBElement.class)
    protected JAXBElement<byte[]> signcert;
    @XmlElementRef(name = "signdigest", namespace = "http://bo.userservice.bmps.netca.net", type = JAXBElement.class)
    protected JAXBElement<String> signdigest;

    /**
     * Gets the value of the enccert property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link byte[]}{@code >}
     *     
     */
    public JAXBElement<byte[]> getEnccert() {
        return enccert;
    }

    /**
     * Sets the value of the enccert property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link byte[]}{@code >}
     *     
     */
    public void setEnccert(JAXBElement<byte[]> value) {
        this.enccert = ((JAXBElement<byte[]> ) value);
    }

    /**
     * Gets the value of the encdigest property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getEncdigest() {
        return encdigest;
    }

    /**
     * Sets the value of the encdigest property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setEncdigest(JAXBElement<String> value) {
        this.encdigest = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the enckeypair property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link byte[]}{@code >}
     *     
     */
    public JAXBElement<byte[]> getEnckeypair() {
        return enckeypair;
    }

    /**
     * Sets the value of the enckeypair property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link byte[]}{@code >}
     *     
     */
    public void setEnckeypair(JAXBElement<byte[]> value) {
        this.enckeypair = ((JAXBElement<byte[]> ) value);
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setId(Integer value) {
        this.id = value;
    }
    /**
     * Gets the value of the reqno property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    
    public JAXBElement<String> getReqno() {
        return reqno;
    }

    /**
     * Sets the value of the reqno property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setReqno(JAXBElement<String> value) {
        this.reqno = ((JAXBElement<String> ) value);
    }
    
    /**
     * Gets the value of the reqtime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getReqtime() {
        return reqtime;
    }

    /**
     * Sets the value of the reqtime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setReqtime(XMLGregorianCalendar value) {
        this.reqtime = value;
    }

    /**
     * Gets the value of the signcert property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link byte[]}{@code >}
     *     
     */
    public JAXBElement<byte[]> getSigncert() {
        return signcert;
    }

    /**
     * Sets the value of the signcert property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link byte[]}{@code >}
     *     
     */
    public void setSigncert(JAXBElement<byte[]> value) {
        this.signcert = ((JAXBElement<byte[]> ) value);
    }

    /**
     * Gets the value of the signdigest property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getSigndigest() {
        return signdigest;
    }

    /**
     * Sets the value of the signdigest property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setSigndigest(JAXBElement<String> value) {
        this.signdigest = ((JAXBElement<String> ) value);
    }

}
